<?php
/**
 * Created by PhpStorm.
 * User: lx020
 * Date: 2018/7/9
 * Time: 15:17
 */

if (!function_exists('no_admin_uri')) {
    function no_admin_uri($name, $param = [])
    {
        return preg_replace('@\/' . config('admin.route.prefix') . '@', '', route($name, $param, false));
    }
} 